.class final Lcom/wqmobile/sdk/widget/g;
.super Landroid/webkit/WebChromeClient;


# instance fields
.field private synthetic a:Lcom/wqmobile/sdk/widget/ADView;


# direct methods
.method constructor <init>(Lcom/wqmobile/sdk/widget/ADView;)V
    .locals 0

    iput-object p1, p0, Lcom/wqmobile/sdk/widget/g;->a:Lcom/wqmobile/sdk/widget/ADView;

    invoke-direct {p0}, Landroid/webkit/WebChromeClient;-><init>()V

    return-void
.end method

.method static synthetic a(Lcom/wqmobile/sdk/widget/g;)Lcom/wqmobile/sdk/widget/ADView;
    .locals 1

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/g;->a:Lcom/wqmobile/sdk/widget/ADView;

    return-object v0
.end method


# virtual methods
.method public final onJsAlert(Landroid/webkit/WebView;Ljava/lang/String;Ljava/lang/String;Landroid/webkit/JsResult;)Z
    .locals 4

    const/4 v3, 0x1

    new-instance v0, Landroid/app/AlertDialog$Builder;

    iget-object v1, p0, Lcom/wqmobile/sdk/widget/g;->a:Lcom/wqmobile/sdk/widget/ADView;

    invoke-virtual {v1}, Lcom/wqmobile/sdk/widget/ADView;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-direct {v0, v1}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

    const-string v1, "\u5e37\u5343\u52a8\u5a92"

    invoke-virtual {v0, v1}, Landroid/app/AlertDialog$Builder;->setTitle(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    invoke-virtual {v0, p3}, Landroid/app/AlertDialog$Builder;->setMessage(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    const-string v1, "ok"

    new-instance v2, Lcom/wqmobile/sdk/widget/h;

    invoke-direct {v2, p0}, Lcom/wqmobile/sdk/widget/h;-><init>(Lcom/wqmobile/sdk/widget/g;)V

    invoke-virtual {v0, v1, v2}, Landroid/app/AlertDialog$Builder;->setPositiveButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    invoke-virtual {v0, v3}, Landroid/app/AlertDialog$Builder;->setCancelable(Z)Landroid/app/AlertDialog$Builder;

    invoke-virtual {v0}, Landroid/app/AlertDialog$Builder;->create()Landroid/app/AlertDialog;

    invoke-virtual {p4}, Landroid/webkit/JsResult;->confirm()V

    invoke-virtual {v0}, Landroid/app/AlertDialog$Builder;->show()Landroid/app/AlertDialog;

    return v3
.end method
